package com.globalwave.system.service;

import com.globalwave.common.ArrayOrderList;
import com.globalwave.common.ArrayPageList;
import com.globalwave.system.entity.Dict;

public interface DictService {

    public ArrayPageList<Dict> query(
            Dict dictCriterion, 
            int pageIndex, 
            int pageSize, 
            ArrayOrderList orderList) 
    throws Exception ;
    
    public Dict create(Dict dict) throws Exception ;
    public void update(Dict dict) throws Exception ;
    public void delete(Dict dict) throws Exception ;
    public void deleteAll(Long[] dictIds) throws Exception ;
    public boolean checkDictExisted(Dict dict) throws Exception ;
    public Dict find(Long dict_id) throws Exception ;
}
